package com.zsh.demo.service.impl;

import com.zsh.demo.dao.MenuDao;
import com.zsh.demo.pojo.MainMenu;
import com.zsh.demo.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    private MenuDao menuDao;
    @Override
    public List<MainMenu> getMenu() {
        return menuDao.getMenu();
    }
}
